package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 版本记录
 *
 * @author flyme
 * @date 2020-10-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_version")
@TableAlias("version")
@ApiModel(value="BusVersion对象", description="版本记录")
public class BusVersion extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "versionId", type = IdType.ID_WORKER)
    private Long versionId;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "大版本#变更计划")
    private String bigVersion;

    @ApiModelProperty(value = "小版本#修正计划")
    private String smallVerion;


    @ApiModelProperty(value = "操作用户")
    private Long userId;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "版本类型1材料，2分包")
    private Integer versionType;

}
